From: Jason Rumney Date: Sat, 1 Feb 2003 01:22:05 +0000 (+0000) Subject: (Fcopy_file) [WINDOWSNT]: Reverse logic for setting X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~28497 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d0363bd036fd0f80dbb7ea96bc963024aeb8cf82;p=emacs.git (Fcopy_file) [WINDOWSNT]: Reverse logic for setting timestamp. --- diff --git a/src/fileio.c b/src/fileio.c index 72c9faccddd..02b45ed077c 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2405,7 +2405,8 @@ A prefix arg makes KEEP-TIME non-nil. */) SDATA (encoded_newname), FALSE)) report_file_error ("Copying file", Fcons (file, Fcons (newname, Qnil))); - else if (!NILP (keep_time)) + /* CopyFile retains the timestamp by default. */ + else if (NILP (keep_time)) { EMACS_TIME now; DWORD attributes;